package com.dto.excution;

import com.base.BaseAPIExcution;
import com.enums.TeacherEnum;

/**
 * Created by Administrator on 2018/10/12 0012.
 */
public class TeacherExcution<T> extends BaseAPIExcution<T> {
    public TeacherExcution(T t, TeacherEnum teacherEnum) {
        this.data = t;
        this.status = teacherEnum.isStatus();
        this.msg = teacherEnum.getMsg();
    }
}
